﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DAL
{
    public interface IDALCar : IDisposable
    {
        IEnumerable<Car> GetAllCarsOwnedByCustomer(int customerID);

        Car GetCarByID(int carID);
        Car FindCarByLicencePlate(string licencePlate);

        void InsertCar(Car car);
        void DeleteCar(int carID);
        void UpdateCar(Car car);

        int Save();
    }
}